<template>
  <section>
    <div class="wrapper">
      <h2>教代会提案</h2>
      <ul>
        <li @click="$troute.query('mpPrev')">
          <p>历届教代会提案</p>
          <span>Proposals of successive educational congresses</span>
        </li>
        <li @click="$troute.query('currentDR')">
          <p>本届教代会提案</p>
          <span>Proposals of successive educational congresses</span>
        </li>
      </ul>
    </div>
    <tabbar />
  </section>
</template>
<script>
import api from "@/data/api/index.js";
import Vue from "vue";
import { Toast } from "vant";
import tabbar from "../../components/tabbar.vue";
Vue.use(Toast);

export default {
  components: { tabbar },
  data() {
    return {};
  },
  methods: {},
  mounted() {},
};
</script>
<style lang="scss" scoped>
section {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-height: 100%;
}
.wrapper {
  padding: 25px 20px;
  h2 {
    position: relative;
    display: inline-block;
    font-size: 24px;
    margin-bottom: 25px;
    z-index: 1;
    &::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 1px;
      height: 5px;
      background-color: #c9151e;
      z-index: -1;
    }
  }
  ul li {
    margin-top: 20px;
    padding: 20px 20px 20px 80px;
    background: #fff url(../imgs/case-1.png) no-repeat 20px center;
    background-size: 50px;
    border-radius: 10px;
    box-shadow: 2px 2px 8px #f2f2f2, -2px -2px 8px #f2f2f2;
    p {
      position: relative;
      font-size: 18px;
      font-weight: bold;
      &::after {
        content: "";
        position: absolute;
        top: 15px;
        right: 0;
        width: 8px;
        height: 13px;
        background: url(../imgs/more.png) no-repeat;
        background-size: contain;
      }
    }
    span {
      color: #999;
      font-size: 12px;
    }
    &:nth-child(2) {
      background-image: url(../imgs/case-2.png);
    }
  }
}
</style>
